package com.qinglei.recoup.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 微信用户表
 *
 * @author cxd
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_version_job")
@ApiModel(value="VersionJob对象", description="升级任务表")
public class VersionJob implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id主键")
            @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "升级批次任务jobid")
    private String jobId;

    @ApiModelProperty(value = "OTA升级包ID")
    private String firmwareId;

    @ApiModelProperty(value = "产品key")
    private String productKey;

    @ApiModelProperty(value = "执行状态 0执行中 1执行完成")
    private Integer status;

    @ApiModelProperty(value = "是否删除：0-未删除 1-已删除")
        @TableLogic
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;


}
